package com.cyt.work.antiepidemic.service;

import com.cyt.base.model.dto.ReturnResult;
import com.cyt.sys.model.po.SysUser;
import com.cyt.sys.service.BaseService;
import com.cyt.work.antiepidemic.model.po.AntiepidemicRecord;
import com.cyt.work.antiepidemic.model.vo.AntiepidemicRecordExportVo;
import com.cyt.work.antiepidemic.model.vo.AntiepidemicRecordVo;

import java.util.List;

/**
 * e门通-社区出入信息Service层接口类
 *
 * @author rong yuan
 * @date 2020-2-12 2:24:25
 */
public interface AntiepidemicRecordService extends BaseService<AntiepidemicRecord> {

    /**
     * 分页查询
     *
     * @param antiepidemicRecordVo 接受参数对象
     * @param pageNum              分页数
     * @param pageSize             每页显示条数
     * @return ReturnResult
     * @author rong yuan
     * @date 2020-2-12 2:24:25
     */
    ReturnResult page(AntiepidemicRecordVo antiepidemicRecordVo, int pageNum, int pageSize);

    /**
     * 根据ID获取数据
     *
     * @param id 主键ID
     * @return AntiepidemicRecordVo
     * @author rong yuan
     * @date 2020-2-12 2:24:25
     */
    AntiepidemicRecordVo selectById(String id);

    /**
     * 添加或更新
     *
     * @param antiepidemicRecordVo 参数接受对象
     * @param sysUser              当前用户
     * @return ReturnResult
     * @author rong yuan
     * @date 2020-2-12 2:24:25
     */
    ReturnResult addOrUpdate(AntiepidemicRecordVo antiepidemicRecordVo, SysUser sysUser);

    /**
     * 根据条件逻辑删除
     *
     * @param antiepidemicRecordVo 参数接受对象
     * @param sysUser              当前用户
     * @return ReturnResult
     * @author rong yuan
     * @date 2020-2-12 2:24:25
     */
    ReturnResult remove(AntiepidemicRecordVo antiepidemicRecordVo, SysUser sysUser);

    /**
     * 根据条件物理删除
     *
     * @param antiepidemicRecordVo 参数接受对象
     * @param sysUser              当前用户
     * @return ReturnResult
     * @author rong yuan
     * @date 2020-2-12 2:24:25
     */
    ReturnResult delete(AntiepidemicRecordVo antiepidemicRecordVo, SysUser sysUser);

    List<AntiepidemicRecordExportVo> selectExportList(AntiepidemicRecordVo antiepidemicRecordVo);
}